<template>
  <div class="box">
    <!-- <build-el-h1 name="奖项说明-黑色.png" style="margin-bottom:15px"></build-el-h1> -->
    <div class="my-title">奖项申报</div>
    <div class="exp-cell">
      <div
        class="item"
        v-for="item in tableData"
        :key="item.awardId"
        @click="handNavExp(item)"
      >
        <div class="title">{{ item.title }}</div>
        <img class="icon" src="@/assets/imgs/jiantou.png" alt />
      </div>
    </div>
    <!-- contestSchedule -->
    <!-- <p>
      {{explain.text}}
     </p>
    <build-el-icon-list
      v-for="(item,index) in explain.data"
      :key="index + item.name"
      :icon="item.icon"
      :t1="item.name"
      :t2="item.text"
    ></build-el-icon-list>-->
  </div>
</template>
<script>
import buildElH1 from '../build-el-h1'
import buildElIconList from '../build-el-icon-list'
export default {
  components: {
    buildElH1,
    buildElIconList,
  },
  data() {
    return {
      tableData: [],
      total: 0,
      pageSize: 15,
      pageNow: 1,
    }
  },
  async mounted() {
    this.init()
  },
  methods: {
    handNavExp(item) {
      this.$router.push({
        name: 'Explain',
        query: {
          awardId: item.awardId,
        },
      })
    },
    async init(page) {
      let res = await this.api.selectAward({
        pageSize: 1000,
        page: 1,
        awardType: 2,
      })
      this.tableData = res.list
      console.log(this.tableData, '说明')
    },
  },
}
</script>
<style lang="less" scoped>
.box {
  .exp-cell {
    .item {
      display: flex;
      justify-content: space-between;
      padding: 15px 0;
      box-sizing: border-box;
      border-top: 1px solid #e6e6e6;
      &:last-child {
        border-bottom: 1px solid #e6e6e6;
      }
      .title {
        color: #333;
        font-size: 16px;
      }
      .icon {
        height: 16px;
        width: 9px;
      }
    }
  }
  .info {
    width: 100%;
    opacity: 0.9;
    font-size: 16px;
    color: #333333;
    letter-spacing: 0;
    line-height: 30px;
  }
  background: #f7f7f7;
  box-sizing: content-box;
  position: relative;
  padding: 25px 20px;
  p {
    opacity: 0.8;
    font-size: 14px;
    color: #ffffff;
    letter-spacing: 0;
    // width: 840px;
    margin-bottom: 28px;
  }
}
</style>
